const express=require('express');
const app=express();
app.listen(3000);
function fn(req,res,next){
		req.query.price*=0.9
		next();	
}
app.use('/shopping',fn);
app.get('/shopping',(req,res)=>{
	res.send('商品的价格:'+req.query.price)
})